package com.myj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 景区详情表
 * </p>
 *
 * @author Java_myj
 * @since 2022-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Details对象", description="景区详情表")
public class Details implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "d_id")
    @TableId(value = "景区详情编号", type = IdType.AUTO)
    private Integer 景区详情编号;

    @ApiModelProperty(value = "d_title")
    private String 标题;

    @ApiModelProperty(value = "d_content")
    private String 文章内容;

    @ApiModelProperty(value = "d_time")
    private LocalDateTime 时间;

    @ApiModelProperty(value = "d_place")
    private String 地点;

    @ApiModelProperty(value = "d_commnets")
    private Integer 评论数;

    @ApiModelProperty(value = "u_id;用户ID")
    private Integer 发表人id;


}
